home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #2 / Monster Media No. 2 (Monster Media)(1994).ISO / utils2 / paszip.zip / ZIPLIST.BAT < prev   
DOS Batch File  |  1994-06-04  |  2KB  |  68 lines

  1. @echo off
  2. goto Start
  3.                             ┌───────────────
  4.                             │  ZIPLIST.BAT  █
  5.                              ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
  6.  
  7.                        Wed  04-27-1994  22:17:02
  8.                                  edited
  9.                        Sat  06-04-1994  20:57:01
  10.  
  11.      Used with ZIP_PASS.BAT to give you a list of files that are zipped
  12.      and to see if any of them are encrypted. Puts all the file
  13.      information into a text file called ZIPLIST.TXT. You can use DOS
  14.      wild cards (*.*) but =must= use the full file name if you are
  15.      getting information about a Self Extracting Zipped file (has the
  16.      extension *.EXE).
  17.  
  18.      Must have PKUNZIP.EXE to run this batch file.
  19.  
  20.      eg:  ZIPLIST MyFile.EXE
  21.  
  22.  
  23.      COMMAND:
  24.  
  25.           ZIPLIST  ZipFile
  26.  
  27.      The switch "-vt" gives a full list of each file as:
  28.  
  29.                Filename: UPDATES.DOC
  30.               File type: text, encrypted
  31.              Attributes: --w-
  32.           Date and Time: Feb 26,1994  01:10:00
  33.      Compression Method: DeflatX
  34.         Compressed Size:     689
  35.       Uncompressed Size:    1287
  36.        32 bit CRC value: 9c5c3ac2
  37.              Created by:   PKZIP: 2.0 under MS-DOS
  38.       Needed to extract: PKUNZIP: 2.0
  39.  
  40. :Start
  41. if not exist pkunzip.exe goto Missing
  42. pkunzip %1 -vt >> ziplist.txt
  43. pause
  44. goto End
  45. :Missing
  46. rem if pkunzip.exe is in your PATH, "rem out" the "if not exist" line
  47. cls
  48. echo.
  49. echo.
  50. echo           █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█
  51. echo           █               ZIPLIST.BAT                  █▒▒
  52. echo           █                                            █▒▒
  53. echo           █  PURPOSE: List zip files, with PKUNZIP.EXE █▒▒
  54. echo           █                                            █▒▒
  55. echo           █                                            █▒▒
  56. echo           █  COMMAND: ZIPLIST  FileName                █▒▒
  57. echo           █                                            █▒▒
  58. echo           █                                            █▒▒
  59. echo           █  WARNING:  Can't find PKUNZIP.EXE          █▒▒
  60. echo           █            Can't run this batch file       █▒▒
  61. echo           █                                            █▒▒
  62. echo           █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█▒▒
  63. echo            ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  64. echo.
  65. echo 
  66. pause
  67. :End
  68.